﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.BLL
{
    public class TruckTeamBLL
    {
        public static List<Model.TruckTeam> GetTruckTeams()
        {
            return DAL.TruckTeamDAL.GetTruckTeams();
        }
        public static bool Del(string TeamID)
        {
            return DAL.TruckTeamDAL.Del(TeamID)!=0?true:false;
        }
        public static Model.TruckTeam Eshow(string TeamID) 
        {
            return DAL.TruckTeamDAL.Eshow(TeamID);
        }
        public static int updatetruckteam(string TeamName, string Leader, string TeamID)
        {
            return DAL.TruckTeamDAL.updatetruckteam(TeamName, Leader, TeamID);
        }
    }
}
